<?php
namespace app\common\model;
/**
 * 商品评论模型
 */
class GoodsComment extends Base 
{
	// 自动写入时间戳
    protected $autoWriteTimestamp = true;

    public function goods(){
		return $this->belongsTo('Goods','goods_id','id');
	}

	public function member(){
		return $this->belongsTo('Member','uid','id');
	}    
}